package com.qijian.mold.repository.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qijian.mold.domain.dto.SelectTaskDto;
import com.qijian.mold.domain.entity.MoldChangeLog;
import com.qijian.mold.domain.entity.MoldChangeTask;
import com.qijian.mold.domain.vo.task.TaskListVo;
import com.qijian.mold.mapper.MoldChangeLogMapper;
import com.qijian.mold.mapper.MoldChangeTaskMapper;
import com.qijian.mold.repository.MoldChangeLogRepository;
import com.qijian.mold.repository.MoldChangeTaskRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 换模任务
 *
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2025/3/29 17:25
 */
@Service
public class MoldChangeTaskRepositoryImpl extends ServiceImpl<MoldChangeTaskMapper, MoldChangeTask> implements MoldChangeTaskRepository {

    @Autowired
    private MoldChangeTaskMapper mapper;

    @Override
    public Page<TaskListVo> selectByPage(SelectTaskDto dto) {
        return mapper.selectByPage(dto);
    }
}
